Don't pass invalid rectangles to cairo
authorMatthias Clasen <mclasen@redhat.com>
Mon, 16 Mar 2015 16:51:56 +0000 (12:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 16 Mar 2015 16:51:56 +0000 (12:51 -0400)
commitc7672699e96bacc574009015cec71e4c63efa89d
treef1538296bd780ebd5c7e9e3d4f54ce627ffa57c3
parent855c4dc0ce7aacc2970f9ff4c9e05f4b2fc7c9a1
Don't pass invalid rectangles to cairo

This causes pixman warnings, or worse.
Clearly, something is not quite right here, if we end up
redrawing tabs at a time when the allocation is set to (1, 1).
For now, avoid straining the error handling in the lower layers.

https://bugzilla.gnome.org/show_bug.cgi?id=746301
gtk/gtknotebook.c